//
//  QZDesignerMsgCell.m
//  WeiWeiHaircut
//
//  Created by 上官惠阳 on 15/12/11.
//  Copyright © 2015年 超群. All rights reserved.
//

#import "QZDesignerMsgCell.h"
#import "UIView+RoundView.h"

@implementation QZDesignerMsgCell

- (void)awakeFromNib {
    [_headImage setCornerRadius:3];
    [self.contentView setlineFrame:CGRectMake(0, 10.0f, WIDTH, .3f) lineColor:[UIColor lightGrayColor] lineAlpha:1];
    [self.contentView setlineFrame:CGRectMake(0, 100.0f, WIDTH, .3f) lineColor:[UIColor lightGrayColor] lineAlpha:1];
}
-(void)loadStarViewWithStarValue:(NSString *)starValue
{
    for (int i = 0;i < _starImageArr.count; i++) {
        UIImageView *starImgView = _starImageArr[i];
        NSString *starImageName;
        if (i < [starValue intValue]) {
            starImageName = @"star1";
        }else{
            starImageName = @"star2";
        }
        starImgView.image = [UIImage imageNamed:starImageName];
    }
}
- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
